package com.wx.gof.pattern.structural.composite.interfacetype;

import java.math.BigDecimal;


/**
 * @ClassName IBook
 * @Author wx
 * @Description 书接口
 * @Date 2018-12-09-20:16
 */
public interface IBook extends ITree {
    /**
     * @methodName: getPrice
     * @author: wx
     * @description: 获取价格
     * @param
     * @date: 2018/12/9
     * @return: java.math.BigDecimal
     */
    BigDecimal getPrice();

    /**
     * @methodName: getAuthor
     * @author: wx
     * @description: 获取作者
     * @param
     * @date: 2018/12/9
     * @return: java.lang.String
     */
    String getAuthor();

    /**
     * @methodName: setBookCatalog
     * @author: wx
     * @description: 设置书籍目录
     * @param bookCatalog
     * @date: 2018/12/9
     * @return: void
     */
    void setBookCatalog(IBookCatalog bookCatalog);
}
